﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GIMS.MODEL
{
    public class M_IcmReceiveObject
    {
        private Int32 ICM_RECEIVE_SEQ;
        private string ICM_RECEIVE_CODE;
        private string ICM_RECEIVE_NAME;
        private Int32 TRANS_MAS_SEQ;
     //   private Int32 LOT_NUMBER;
        private Nullable<Int32> ICM_RES_TYPE_SEQ;
        private string ICM_RES_TYPE_NAME;
        private Nullable<Int32> RECEIVE_TYPE_SEQ;
        private string RECEIVE_TYPE_NAME;
        private string ICM_RES_ITEM_NAME;
        private double PRICE;
        private double QUANTITY;
        private double QUANTITY_REMAIN_BEFORE;
        private double QUANTITY_REMAIN_AFTER;
        private double QUANTITY_REMAIN;
        private Nullable<DateTime> RECEIVE_DATE;
        private string REMARK;
        private string RECORD_STATUS;
        private Int32 CREATED_BY;
        private DateTime CREATED_WHEN;
        private Nullable<Int32> UPDATED_BY;
        private DateTime UPDATED_WHEN;
        private string ASSET_CODE_START;
        private string ASSET_CODE_FINISH;
        private Int32 CUT_STOCK_BY;
        private DateTime CUT_STOCK_WHEN;

        //Add
        private string TRANS_CODE;
        private string ICM_RES_ITEM_CODE;
        private string INTERVAL_ASSET_CODE;
        private Nullable<Int32> ICM_DN_SEQ;
        private Nullable<Int32> ICM_WH_SEQ;
        private Nullable<Int32> JOB_SITE_SEQ;
        private string ICM_DN_CODE;
        private string ICM_WH_NAME;
        private string JOB_SITE_NAME;
        private string TRANFER_NAME;
        private string TRANFER_REF_NO;

        public Int32 icm_receive_seq
        {
            get { return ICM_RECEIVE_SEQ; }
            set { ICM_RECEIVE_SEQ = value; }
        }
        public string icm_receive_code
        {
            get { return ICM_RECEIVE_CODE; }
            set { ICM_RECEIVE_CODE = value; }
        }
        public string icm_receive_name
        {
            get { return ICM_RECEIVE_NAME; }
            set { ICM_RECEIVE_NAME = value; }
        }
        public Int32 trans_mas_seq
        {
            get { return TRANS_MAS_SEQ; }
            set { TRANS_MAS_SEQ = value; }
        }
        //public Int32 lot_number
        //{
        //    get { return LOT_NUMBER; }
        //    set { LOT_NUMBER = value; }
        //}
        public Nullable<Int32> icm_res_type_seq
        {
            get { return ICM_RES_TYPE_SEQ; }
            set { ICM_RES_TYPE_SEQ = value; }
        }
        public string icm_res_type_name
        {
            get { return ICM_RES_TYPE_NAME; }
            set { ICM_RES_TYPE_NAME = value; }
        }
        public Nullable<Int32> receive_type_seq
        {
            get { return RECEIVE_TYPE_SEQ; }
            set { RECEIVE_TYPE_SEQ = value; }
        }
        public string receive_type_name
        {
            get { return RECEIVE_TYPE_NAME; }
            set { RECEIVE_TYPE_NAME = value; }
        }
        public string icm_res_item_name
        {
            get { return ICM_RES_ITEM_NAME; }
            set { ICM_RES_ITEM_NAME = value; }
        }
        public double price
        {
            get { return PRICE; }
            set { PRICE = value; }
        }
        public double quantity
        {
            get { return QUANTITY; }
            set { QUANTITY = value; }
        }
        public double quantity_remain_before
        {
            get { return QUANTITY_REMAIN_BEFORE; }
            set { QUANTITY_REMAIN_BEFORE = value; }
        }
        public double quantity_remain_after
        {
            get { return QUANTITY_REMAIN_AFTER; }
            set { QUANTITY_REMAIN_AFTER = value; }
        }
        public double quantity_remain
        {
            get { return QUANTITY_REMAIN; }
            set { QUANTITY_REMAIN = value; }
        }
        public Nullable<DateTime> receive_date
        {
            get { return RECEIVE_DATE; }
            set { RECEIVE_DATE = value; }
        }
        public string remark
        {
            get { return REMARK; }
            set { REMARK = value; }
        }
        public string record_status
        {
            get { return RECORD_STATUS; }
            set { RECORD_STATUS = value; }
        }
        public Int32 created_by
        {
            get { return CREATED_BY; }
            set { CREATED_BY = value; }
        }
        public DateTime created_when
        {
            get { return CREATED_WHEN; }
            set { CREATED_WHEN = value; }
        }
        public Nullable<Int32> updated_by
        {
            get { return UPDATED_BY; }
            set { UPDATED_BY = value; }
        }
        public DateTime updated_when
        {
            get { return UPDATED_WHEN; }
            set { UPDATED_WHEN = value; }
        }
        public string asset_code_start
        {
            get { return ASSET_CODE_START; }
            set { ASSET_CODE_START = value; }
        }
        public string asset_code_finish
        {
            get { return ASSET_CODE_FINISH; }
            set { ASSET_CODE_FINISH = value; }
        }    
        public string trans_code
        {
            get { return TRANS_CODE; }
            set { TRANS_CODE = value; }
        }
        public string icm_res_item_code
        {
            get { return ICM_RES_ITEM_CODE; }
            set { ICM_RES_ITEM_CODE = value; }
        }
        public string interval_asset_code
        {
            get { return INTERVAL_ASSET_CODE; }
            set { INTERVAL_ASSET_CODE = value; }
        }
        public Int32 cut_stock_by
        {
            get { return CUT_STOCK_BY; }
            set { CUT_STOCK_BY = value; }
        }
        public DateTime cut_stock_when
        {
            get { return CUT_STOCK_WHEN; }
            set { CUT_STOCK_WHEN = value; }
        }
        public Nullable<Int32> icm_dn_seq
        {
            get { return ICM_DN_SEQ; }
            set { ICM_DN_SEQ = value; }
        }
        public Nullable<Int32> icm_wh_seq
        {
            get { return ICM_WH_SEQ; }
            set { ICM_WH_SEQ = value; }
        }
        public string icm_dn_code
        {
            get { return ICM_DN_CODE; }
            set { ICM_DN_CODE = value; }
        }
        public string icm_wh_name
        {
            get { return ICM_WH_NAME; }
            set { ICM_WH_NAME = value; }
        }
        public Nullable<Int32> job_site_seq
        {
            get { return JOB_SITE_SEQ; }
            set { JOB_SITE_SEQ = value; }
        }
        public string job_site_name
        {
            get { return JOB_SITE_NAME; }
            set { JOB_SITE_NAME = value; }
        }
        public string tranfer_name
        {
            get { return TRANFER_NAME; }
            set { TRANFER_NAME = value; }
        }
        public string tranfer_ref_no
        {
            get { return TRANFER_REF_NO; }
            set { TRANFER_REF_NO = value; }
        }
    }
}
